/*
 * name:手机登录初始化 PhoneLoginInit
 * author:yanmu.wj@taobao.com
 * date:2011-11-23
 */
KISSY.use('Phone,SubmitForm',function(S,Phone,SubmitForm){
    KISSY.ready(function(){
        //手机号码
        var phone = Phone({
            input:'#J_phone_input',
            tip:'#J_phone_tip',
            defaultTip:{type:'attention',msg:{content:'亲～必须是编辑短信的手机哦。'}}
        }).init();


        //登录
        SubmitForm({
            form:'#J_phone_login_form',
            tip:'#J_phone_login_form_tip',
            checkers:[phone]
        }).init();
    });
});
